package com.woniuxy.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.repair.pojo.RepairOrder;

import java.util.List;

/**
* @author 76540
* @description 针对表【repair_order(报修订单表)】的数据库操作Service
* @createDate 2025-07-18 14:40:09
*/
public interface RepairOrderService extends IService<RepairOrder> {

    RepairOrder addRepair(RepairOrder repairOrder);
    
    /**
     * 物业审批报修单
     */
    void approveRepair(Long repairOrderId, Boolean approved, String comment);

    /**
     * 维修人员处理报修单
     */
    void handleRepair(Long repairOrderId, Boolean completed, String feedback, String repairResult);

    List<RepairOrder> property();
}
